<?php $getposts = $this->requestAction('/posts/getposts/5');?>
<h2>Latest Posts</h2>
<ul class="hfeed">
	<?php foreach($getposts as $post) : ?>
		<li>
		<div id="post-<?php e($post['Post']['id']);?>" class="hentry post">
			<span class="entry-title"><?php e($html->link($post['Post']['title'], '/posts/view/' . $post['Post']['url'], array('rel'=>'bookmark')));?></span>
			<div class="entry-summary"><?php e($post['Post']['byline']);?></div>
		</div>
		</li>
	<?php endforeach; ?>
</ul>

<?php e($html->link('Read older news...', '/posts/news'));?>